<div class="pad-10" >
    
    <div class="navigate">
		<h1>帐号列表</h1>

        <span class="ui-button ui-button-morange fr">
                <a class="ui-button-text fr" href="/index.php/Admin/Member/add">帐号添加</a>
        </span>
  	</div>


    <div class="explain-col">
        <form id="form_member" action="/index.php/Admin/Member/" method="get">
            &nbsp;查询日期:

            <input type="text" class="Wdate tc" id="begin" name="begin_time" onclick="javascript:WdatePicker()" readonly="readonly" value="{$begin_time}" />
            至
            <input type="text" class="Wdate tc" id="end" name="end_time" onclick="javascript:WdatePicker()" readonly="readonly" value="{$end_time}" />

            &nbsp;
            平台
            <select name="plantform_id" id="plantform_id" style="width:80px;">
                <option value="0">不限</option>
                <volist name="plantforms" id="p">
                    <option value="{$p.plantform_id}"<if condition="$p['plantform_id'] eq $plantform_id"> selected</if>>{$p.plantform_name}</option>
                </volist>
            </select>


            &nbsp;
            查询条件
            <select name="search" id="search" style="width:80px;">
                <option value="">不限</option>
                <volist name="member_search" id="s">
                    <option value="{$s.item}"<if condition="$s['item'] eq $search"> selected</if>>{$s.name}</option>
                </volist>
            </select>

            <input type="text" name="keywords" value="{$keywords}" />
            <input type="submit" id="btnSearch" class="button" value="搜索" />
        </form>
    </div>

    <div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
                <th>编号</th>
                <th>平台</th>
                <th>账号</th>
                <th>登录密码</th>
                <th>支付密码</th>
                <th>绑定手机</th>
                <th>绑定邮箱</th>
                <th>邮箱密码</th>
                <th>状态</th>
                <th>内部帐号</th>
                <th>创建时间</th>
                <th>操作</th>
            </tr>
        </thead>
    	<tbody>
        <volist name="members" id="m" >
        <tr>
        	<td align="center">{$m.member_id}</td>
        	<td align="center">{$m.plantform_name}</td>
        	<td align="center">{$m.member_name}</td>
        	<td align="center">{$m.member_pwd}</td>
        	<td align="center">{$m.member_pay_pwd}</td>
        	<td align="center">{$m.mobile_phone}</td>
        	<td align="center">{$m.email}</td>
        	<td align="center">{$m.email_pwd}</td>
            <td align="center">
	            <if condition="$m.disabled eq 1">
					<span class="color-red">禁用</span>
				<else />
					<span class="color-green">启用</span>
				</if>
            </td>
            <td align="center">
	            <if condition="$m.is_internal eq 1">
					<span class="color-red">是</span>
				<else />
					<span class="color-green">否</span>
				</if>
            </td>
            <td align="center">{$m.created}</td>
            <td align="center">
            	<a href="/index.php/Admin/Member/detail?id={$m.member_id}" target="_self">编辑</a>
            </td>
        </tr>
        </volist>
    	</tbody>
    </table>


    <div class="btn">
		<include file="Common:pager" />
    </div>
    
    
    </div>
</div>

<script type="text/javascript" src="/Js/WdatePicker.js"></script>
<script type="text/javascript" src="/Js/common.js"></script>